﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kaixin.House.Ranch
{
    using Kaixin.Tools;

    public class Food
    {
        public enum FoodType
        { 
            Grass,  // seedid 63
            Carrot, // seedid 1
        }

        public static string GetSeedIdByType(FoodType type)
        {
            if (type == FoodType.Grass)
                return "63";
            else
                return "1";
        }

        public string Name;
        public string Fid;
        public int Num;
    }

    public class FoodList
    { 
        private Network _network;
        private string _uid;           // your uid of this 
        private Friend _friend = null; // friend (owner) of this
        private string _verify;        // verify code 

        public List<Food> Items = new List<Food>();

        public FoodList(string uid, Friend friend, string verify,
            Network network)
        {
            _uid = uid;
            _friend = friend;
            _verify = verify;
            _network = network;
        }

        public void UpdateFoodList()
        {
        }
    }
}
